<!DOCTYPE html>
<html>
<head>
<title>
<!-- if($_GET[feed]) -->
{title}  - {config[webname]}
<!-- else -->
	<!-- if($nav=='feeds') -->
	{user[name]}的分享  - {config[webname]} - {config[webtitle]}
	<!-- end -->
	<!-- if($nav=='follow') -->
		{user[name]}关注的人 - {config[webname]} - {config[webtitle]}
	<!-- end -->
	<!-- if($nav=='fans') -->
		{user[name]}的粉丝 - {config[webname]} - {config[webtitle]}
	<!-- end -->
<!-- end -->
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="{config[keyword]}">
<meta name="Description" content="{config[desc]}">
<script type="text/javascript" src="js/jquery-ui-1.8.16/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.16/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="js/fancyzoom/jquery.fancyzoom.js"></script>
<script type="text/javascript" src="js/tooltip/js/jquery.tooltip.js"></script>

<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/feeds.js"></script>

<link rel="stylesheet" type="text/css" href="js/jquery-ui-1.8.16/jquery-ui-1.8.16.custom.css" />
<link rel="stylesheet" type="text/css" href="js/tooltip/css/jquery.tooltip.css" />

<link rel="stylesheet" type="text/css" href="styles/common.css" />
<link rel="stylesheet" type="text/css" href="styles/table.css" />
<link rel="stylesheet" type="text/css" href="styles/feeds.css" />
<script type="text/javascript">
$(document).ready(function(){
	<!--if(!$self && $followed)-->
		$("#unfollow_{user[uid]}").show();
	<!-- end -->
	
	<!--if(!$self && !$followed)-->
		$("#follow_{user[uid]}").show();
	<!-- end -->
});
<!-- if($_SESSION[uid]) -->
function follow(uid){
	$.get("a.php?a=follow&follower_uid={_SESSION[uid]}&follow_uid="+uid,function(data){
		if(data=="1"){
			$("#follow"+"_"+uid).hide();
			$("#unfollow"+"_"+uid).show();
		}
	});
}
function unfollow(uid){
	$.get("a.php?a=unfollow&follower_uid={_SESSION[uid]}&follow_uid="+uid,function(data){
		if(data=="1"){
			$("#follow"+"_"+uid).show();
			$("#unfollow"+"_"+uid).hide();
		}
	});
}
<!-- end -->
</script>
<style>
.div2-left{
	width:150px;
}
.div2-right{
	width:710px;
	min-height:400px;
}
#photo{
	display:block;
	width:138px;
	border:1px solid #efefef;
	padding:5px;
	height:138px;
	background-color:#ffffff;
}
ul#nav{
	margin-top:20px;
}
ul#nav li{
	border-bottom:1px solid #dddddd;
}
ul#nav li a{
	display:block;
	padding:5px 0px 5px 10px;
	font-size:14px;
	text-decoration: none;
}
ul#nav li a:hover,ul#nav li a.selected{
	background-color:#ffffff;
}
#profile{
	padding:10px 0px;
	font-size:12px;
	color:gray;
	margin-bottom:10px;
	border-bottom:2px solid #6FBCEA;
}
#profile p{
	margin:5px 0px;
}
.follow,.unfollow{
	font-weight:normal;
	font-size:12px;
	display:none;
}
.unfollow{
	background-color:#F8F8F8;
	color:gray;
}
.person-item{
	font-size:12px;
	padding:10px 0px 20px 0px;
	clear:both;
	border-bottom:1px solid #dddddd;
}
.person-item-avatar{
	float:left;
	margin-right:10px;
	border:1px solid #efefef;
	padding:2px;
	width:50px;
	height:50px;
}
.person-item-con,.person-item-opt{
	margin-left:70px;
}
.person-item-con .con-name a{
	font-size:14px;
	color:#0078B6;
}
<!--if($_GET[feed] && $feed) -->
#feeds .feed-item{
	border:none;
}
<!-- end -->
</style>
<!--#include file="analyticstracking.html"-->
</head>
<body class="div2-body">
<!--#include file="header.html"-->
<div class="div2-main">
	<div class="div2-left">
		<img id="photo" src="avatar.php?fid={user[avatar_fid]}&l">
		<ul id="nav">
			<li><a href="u.php?uid={user[uid]}&nav=feeds"<!-- if($nav=='feeds') --> class="selected"<!-- end -->>他的分享({relation[feeds]})</a></li>
			<li><a href="u.php?uid={user[uid]}&nav=follow"<!-- if($nav=='follow') --> class="selected"<!-- end -->>他的关注({relation[follow]})</a></li>
			<li><a href="u.php?uid={user[uid]}&nav=fans"<!-- if($nav=='fans') --> class="selected"<!-- end -->>他的粉丝({relation[fans]})</a></li>
		</ul>
	</div>
	<div class="div2-right">
	<div id="profile">
		<p style="font-size:20px;font-weight:bold;color:black;margin:5px 0px">
			<a href="{config[weburl]}/u.php?uid={user[uid]}">{user[name]}</a>
		</p>
		<!-- if($user[website]) -->
			<p>网站：<a href="{user[website]}" target="_blank">{user[website]}</a></p>
		<!-- end -->
		<!-- if($user[mydesc]) -->
			<p>简介：{user[mydesc]}</p>
		<!-- end -->
		<!-- if($_SESSION[uid]) -->
		<p>
			<a href="javascript:follow('{user[uid]}')" class="btn follow" id="follow_{user[uid]}">加关注</a>
			<a href="javascript:unfollow('{user[uid]}')" class="btn_n unfollow" id="unfollow_{user[uid]}">取消关注</a>
		</p>
		<!-- end -->
	</div>
	
	<!-- 他的分享 -->
	<!-- if($nav=='feeds') -->
		<!--#include file="page_feeds.html"-->
	<!-- end -->
	
	<!-- 他的关注 & 他的粉丝 -->
	<!-- if($nav=='follow' || $nav=='fans') -->
		<!-- if($persons) -->
		<div id="persons">
			<ul class="person">
			<!-- $persons as $person -->
				<li>
					<div class="person-item">
						<img class="person-item-avatar" src="<!-- if($person[avatar_fid_m]) -->avatar.php?fid={person[avatar_fid_m]}<!-- else -->avatar.php?default_m<!-- end -->">
						<div class="person-item-con">
							<p class="con-name"><a href="u.php?uid={person[uid]}">{person[name]}</a></p>
							<p>
								关注&nbsp;<a href="u.php?uid={person[uid]}&nav=follow">{person[relation][follow]}</a>
								&nbsp;&nbsp;&nbsp;粉丝&nbsp;<a href="u.php?uid={person[uid]}&nav=fans">{person[relation][fans]}</a>
								&nbsp;&nbsp;&nbsp;分享&nbsp;<a href="u.php?uid={person[uid]}&nav=feeds">{person[relation][feeds]}</a>
							</p>
							<!-- if($person[website]) -->
								<p>网站：<a href="{person[website]}">{person[website]}</a></p>
							<!-- end -->
							<!-- if($person[mydesc]) -->
								<p>介绍：{person[mydesc]}</p>
							<!-- end -->
						</div>
						<!-- if($has_logined && $_SESSION[uid]!=$person[uid]) -->
						<div class="person-item-opt">
							<a href="javascript:follow('{person[uid]}')" class="btn follow" id="follow_{person[uid]}"<!-- if(!$person[ifollowed]) -->style="display:inline"<!-- end -->>加关注</a>
							<a href="javascript:unfollow('{person[uid]}')" class="btn_n unfollow" id="unfollow_{person[uid]}"<!-- if($person[ifollowed]) -->style="display:inline"<!-- end -->>取消关注</a>
						</div>
						<!-- end -->
						<br style="clear:both">
					</div>
				</li>
			<!-- end -->
			</ul>
			<div class="digg">{pagenav}</div>
		</div>
		<!-- else -->
			<div style="text-align:center"><!-- if($nav=='follow') -->没有关注的人<!-- else -->没有粉丝<!-- end --></div>
		<!-- end -->
	<!-- end -->
	
	<!-- 一条分享 -->
	<!-- if($_GET[feed]) -->
		<!--#include file="page_feeds.html"-->
	<!-- end -->
	</div>
<br style="clear:both">
</div>
<!--#include file="footer.html"-->
</body>
</html>